@import url('../../variable.less');

.navbar {
  position: fixed;
  width: 100%;
  height: @navbarHeight;
  background-color: #FFFFFF;
  box-shadow: @boxShadow;
  display: flex;
  align-items: center;
  padding: 0 10px;

  .logo {
    height: 36px;
    margin: 0 20px 0 10px;
    transform: translateY(2px);
  }

  .routes {
    display: flex;
    position: relative;
    align-self: stretch;
    align-items: stretch;
    flex: 1;

    .route-item {
      margin: 0 15px;
      display: flex;
      align-items: stretch;

      a {
        display: flex;
        align-items: center;

        &:hover {
          color: #000000;
        }
      }
    }

    .slide-bar {
      transition: .2s;
      position: absolute;
      background-color: @mainColor;
      bottom: 0;
      height: 4px;
      z-index: 10;
      opacity: .8;
    }
  }

  .personal {
    margin: 0 20px;
  }
}
